﻿<%@ Page Title="Lịch sử nạp tiền" Language="C#" MasterPageFile="~/App_MasterPages/Aquarius.Master" AutoEventWireup="true" CodeBehind="AccountChargingHistoryManagment.aspx.cs" Inherits="Anuntiomatic.Server.ManageList.AccountChargingHistoryManagment" %>
<%@ Register Src="../UserControl/ucPaging.ascx" TagName="ucPaging" TagPrefix="uc1" %>

<asp:Content ID="Content2" ContentPlaceHolderID="ScriptContent" runat="server">
    <script type="text/javascript">
        $(document).ready(function () {
            DatePicker("txtFrom,txtTo");
        });
    </script>
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="MainContent" runat="server">
    <div class="row-fluid">
        <div class="head">
            <div class="isw-grid"></div>
            <h1>Điều kiện tìm kiếm</h1>
            <div class="clear"></div>
        </div>
        <div class="block-fluid" style="padding: 10px 0px 5px 10px">
            <table>
                <tbody>
                    <tr>
                        <td style="width:100px;">Email</td>
                        <td><asp:TextBox ID="txtEmail" runat="server" /></td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                    </tr>
                    <tr>
                        <td>Từ ngày</td>
                        <td><asp:TextBox ID="txtFrom" runat="server" /></td>
                        <td>Đến ngày</td>
                        <td><asp:TextBox ID="txtTo" runat="server" /></td>
                    </tr>
                </tbody>
            </table>
            <div style="text-align: center">
                <asp:Button ID="btnSearch" runat="server" Text="Tìm kiếm" CssClass="btn" 
                    onclick="btnSearch_Click" />
            </div>
        </div>
    </div>
    <div class="row-fluid">
        <div class="span12">
            <div class="head">
                <div class="isw-grid"></div>
                <h1>Người dùng</h1>
                <div class="clear"></div>
            </div>
            <div class="block-fluid table-sorting">
                <div class="dataTables_wrapper" id="tSortable_wrapper">
                <div>
                    <uc1:ucPaging ID="pagingtop" runat="server" Visible="false" />
                </div>
                <asp:GridView ID="grvSysUser" class="dataTables_wrapper table2 dataTable" runat="server"
                    AutoGenerateColumns="false" ShowHeaderWhenEmpty="true" >
                    <Columns>
                        <asp:TemplateField HeaderText="Stt" ItemStyle-CssClass="STT">
                            <ItemTemplate><%#(Container.DataItemIndex + 1) + (pagingtop.CurrentPage - 1) * pagingtop.PageSize%></ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField HeaderText="Email" DataField="Email" />
                        <asp:BoundField HeaderText="Ngày nạp tiền" DataField="ChargedDate" ItemStyle-CssClass="DateTime2" DataFormatString="{0:dd/MM/yyyy HH:mm:sss}" />
                        <asp:BoundField HeaderText="Số tiền" DataField="Amount" ItemStyle-CssClass="DateTime2" DataFormatString="{0:0}" />
                        <asp:BoundField HeaderText="Nhà mạng" DataField="TelCo" ItemStyle-CssClass="DateTime2" DataFormatString="{0:dd/MM/yyyy HH:mm:sss}" />
                    </Columns>
                </asp:GridView>
                <div class="dataTables_info" id="tSortable_info">
                    <asp:Literal ID="ltrInfo" runat="server" />
                </div>
                <div class="clear"></div>
            </div>
            </div>
        </div>
    </div>
</asp:Content>
